package com.konne.nightmare.FastPublicOpinion.ui.information.activity;


import android.content.Intent;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;

import com.konne.nightmare.FastPublicOpinion.R;
import com.konne.nightmare.FastPublicOpinion.base.BaseMvpActivity;
import com.konne.nightmare.FastPublicOpinion.bean.CurrencyBean;
import com.konne.nightmare.FastPublicOpinion.bean.LoginBean;
import com.konne.nightmare.FastPublicOpinion.http.BaseResponse;
import com.konne.nightmare.FastPublicOpinion.mvp.presenter.LoginPresenter;
import com.konne.nightmare.FastPublicOpinion.mvp.view.ILoginView;
import com.konne.nightmare.FastPublicOpinion.utils.LoadProgressDialog;

import butterknife.OnClick;

public class GuiDangActivity extends BaseMvpActivity<ILoginView, LoginPresenter> implements ILoginView, View.OnClickListener {


    @Override
    protected LoginPresenter createPresenter() {
        return new LoginPresenter();
    }

    @Override
    public int getLayout() {
        return R.layout.activity_guidang;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData(Bundle savedInstanceState) {

    }

    @Override
    public LoadProgressDialog getLoadDialog() {
        return dialog;
    }

    @Override
    public void cancelLoadDialog() {
        if (dialog != null && dialog.isShowing()) {
            dialog.cancel();
        }
    }

    @OnClick({})
    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.login:

        }

    }

    @Override
    public void login(BaseResponse<LoginBean.DataBean> data) {

    }

    @Override
    public void getPhoneActivationMsg(BaseResponse<CurrencyBean> data) {

    }

    @Override
    public String msg() {
        return null;
    }

    @Override
    public String phoneNumber() {
        return null;
    }
}
